package com.newtype.meeting.client.service;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.newtype.meeting.client.model.Degree;
import com.newtype.meeting.client.model.Title;

public interface TitleServiceAsync {

	void addTitle(Title title, AsyncCallback<Void> callback);

	void deleteTitle(String id, AsyncCallback<Void> callback);

	void getTitle(String id, AsyncCallback<Title> callback);

	void getTitles(AsyncCallback<ArrayList<Title>> callback);

	void getDegrees(AsyncCallback<ArrayList<Degree>> callback);

}
